package com.dongzili.common.disruptor.factory;

import com.dongzili.common.disruptor.entity.MessageEvent;
import com.lmax.disruptor.EventFactory;

public class MessageEventFactory<T> implements EventFactory<MessageEvent<T>> {
    @Override
    public MessageEvent<T> newInstance() {
        return new MessageEvent<>();
    }
}